﻿
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
using Abp.Extensions;
using KDS.Mes.Mes.AlcCodes;

namespace KDS.Mes.Mes.AlcCodes.Dtos
{
    /// <summary>
    /// ALCCode信息编辑用Dto
    /// </summary>
    [AutoMap(typeof(AlcCode))]
    public class AlcCodeEditDto 
    {

	/// <summary>
    ///   主键Id
    /// </summary>
    [DisplayName("主键Id")]
	public int? Id{get;set;}

        /// <summary>
        /// 所属款式
        /// </summary>
        [DisplayName("所属款式")]
        [Required]
        public   int  StyleId { get; set; }

        [Required]
        [MaxLength(20)]
        public   string  ALCCode { get; set; }

        ///// <summary>
        ///// 零件号
        ///// </summary>
        //[DisplayName("零件号")]
        //[Required]
        //[MaxLength(20)]
        //public   string  SeatNo { get; set; }

        /// <summary>
        /// 车式样
        /// </summary>
        [DisplayName("车式样")]
        [Required]
        [MaxLength(50)]
        public   string  CarStyle { get; set; }

    }
}
